<?php

namespace catchAdmin\community\request;

use think\Validate;

class CommunityRegisterRequest extends Validate
{
    protected $rule = [

        'name|姓名' => [
            'require'
        ],
        'sex|性别' => [
            'require',
            'integer'
        ],
        'idType|证件类型' => [
            'require',
            'integer'
        ],
        'idno|证件号码' => [
            'require',
            'idCard'
        ],
        'presentTelphone|联系方式' => [
            'require',
            'mobile'
        ],
        'presentAddress|现住址' => [
            'require'
        ],
    ];

    protected $message = [];
}